package com.summer.jira.controller;

import java.util.Arrays;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.summer.core.annotations.ScopeType;
import com.summer.core.controller.EntityQuery;
import com.summer.jira.model.BugSummary;
import com.summer.user.model.Official;

@Component
@Scope(ScopeType.VIEW)
public class BugSummaryList extends EntityQuery<BugSummary> {

	private final String HQL = "select bugSummary from BugSummary bugSummary";
	private final String COUNT_HQL = "select count(bugSummary) from BugSummary bugSummary ";

	public BugSummaryList() {

		setHql(HQL);
		setCountHql(COUNT_HQL);
	}
}
